// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
//引入mock的模拟数据 user。js,引入线上mock必须注释掉线下的
/*import user from "./js/user/user.js"*/
Vue.config.productionTip = false

/*引入elementui*/
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

//引入axios
import axios from "axios";
axios.defaults.baseURL = "https://www.fastmock.site/mock/9be8ec083c2b9ab29876cee18aa0c8c5/pethome"
Vue.prototype.$http = axios;


/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
